import Vue from "vue/dist/vue.min.js";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import axios from "axios";
import Tinymce from "@/components/tinymce/index.vue";
import "@/assets/style/global.scss";

Vue.component("tinymce", Tinymce);
// import Cookies from 'js-cookie'
import "normalize.css/normalize.css"; // a modern alternative to CSS resets
Vue.prototype.$axios = axios;

Vue.use(ElementUI, {
  size: "small",
  zIndex: "3000",
});

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
